3 %bcond_without static_libs # don't build static library
4 %bcond_without tests # check target
6 Summary: The Typesafe Signal Framework for C++
7 Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++
14 Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.10/%{name}-%{version}.tar.xz
15 # Source0-md5: 1b067bfae0b502e6a5127336cb09d2dd
16 URL: https://libsigcplusplus.github.io/libsigcplusplus/
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake >= 1:1.9
19 BuildRequires: libstdc++-devel >= 6:4.7
20 BuildRequires: libtool >= 2:2.0
22 BuildRequires: mm-common >= 0.9.10
23 BuildRequires: perl-base
24 BuildRequires: pkgconfig
25 BuildRequires: tar >= 1:1.22
27 Obsoletes: libsigc++-examples
28 Conflicts: libsigc++ < 1.1.0
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This library implements a full callback system for use in widget
33 libraries, abstract interfaces, and general programming. Originally
34 part of the Gtk-- widget set, libsigc++ is now a seperate library to
35 provide for more general use. It is the most complete library of its
36 kind with the ablity to connect an abstract callback to a class
37 method, function, or function object. It contains adaptor classes for
38 connection of dissimilar callbacks and has an ease of use unmatched by
39 other C++ callback libraries.
41 %description -l pl.UTF-8
42 Ta biblioteka jest implementacją pełnego systemu callbacków do
43 używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
44 ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
45 Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
46 przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
47 łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
48 obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
52 Summary: Development tools for the Typesafe Signal Framework for C++
53 Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
54 Group: Development/Libraries
55 Requires: %{name} = %{epoch}:%{version}-%{release}
56 Requires: libstdc++-devel >= 6:4.7
60 Development tools for the Typesafe Signal Framework for C++.
62 %description devel -l pl.UTF-8
63 Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
67 Summary: Static Typesafe Signal Framework for C++ libraries
68 Summary(pl.UTF-8): Statyczna biblioteka libsigc++
69 Group: Development/Libraries
70 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
73 Static Typesafe Signal Framework for C++ libraries.
75 %description static -l pl.UTF-8
76 Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
79 Summary: Reference documentation for libsigc++
80 Summary(pl.UTF-8): Szczegółowa dokumentacja dla libsigc++
84 Reference documentation for libsigc++.
86 %description doc -l pl.UTF-8
87 Szczegółowa dokumentacja dla libsigc++.
98 --disable-silent-rules \
99 %{?with_static_libs:--enable-static}
107 rm -rf $RPM_BUILD_ROOT
110 DESTDIR=$RPM_BUILD_ROOT
113 rm -rf $RPM_BUILD_ROOT
115 %post -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog NEWS README
121 %attr(755,root,root) %{_libdir}/libsigc-2.0.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libsigc-2.0.so.0
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libsigc-2.0.so
127 %{_libdir}/libsigc-2.0.la
128 %{_includedir}/sigc++-2.0
129 %{_libdir}/sigc++-2.0
130 %{_pkgconfigdir}/sigc++-2.0.pc
132 %if %{with static_libs}
134 %defattr(644,root,root,755)
135 %{_libdir}/libsigc-2.0.a
139 %defattr(644,root,root,755)
140 %{_datadir}/devhelp/books/libsigc++-2.0
141 %{_docdir}/libsigc++-2.0